package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressService {
    void addAddress(AddressBook addressInfo);

    List<AddressBook> getUserAddressList(AddressBook addressInfo);

    AddressBook selectById(Long id);

    void updateAddressInfo(AddressBook addressInfo);

    void updateDefaultAddress(AddressBook addressInfo);

    void deleteAddress(Long id);
}
